package com.yonyou.gmmc.service.wechatpush.model;

import java.sql.Date;

import javax.persistence.*;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "TM_REPLY_KEYWORD")
public class TmReplyKeyword {
    @Column(name = "KEYWORD_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TM_REPLY_KEYWORD")
    private Integer keywordId;

    @Column(name = "KEYWORD")
    private String keyword;

    @Column(name = "MATCHING_TYPE")
    private Integer matchingType;

    @Column(name = "RULE_NAME")
    private String ruleName;

    @Column(name = "REPLY_ID")
    private Integer replyId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "CREATE_DATE")
    private Date createDate;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    /**
     * @return KEYWORD_ID
     */
    public Integer getKeywordId() {
        return keywordId;
    }

    /**
     * @param keywordId
     */
    public void setKeywordId(Integer keywordId) {
        this.keywordId = keywordId;
    }

    /**
     * @return KEYWORD
     */
    public String getKeyword() {
        return keyword;
    }

    /**
     * @param keyword
     */
    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    /**
     * @return MATCHING_TYPE
     */
    public Integer getMatchingType() {
        return matchingType;
    }

    /**
     * @param matchingType
     */
    public void setMatchingType(Integer matchingType) {
        this.matchingType = matchingType;
    }

    /**
     * @return RULE_NAME
     */
    public String getRuleName() {
        return ruleName;
    }

    /**
     * @param ruleName
     */
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    /**
     * @return REPLY_ID
     */
    public Integer getReplyId() {
        return replyId;
    }

    /**
     * @param replyId
     */
    public void setReplyId(Integer replyId) {
        this.replyId = replyId;
    }

    
    /**
     * @return the createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    
    /**
     * @param createDate the createDate to set
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    
    /**
     * @return the updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    
    /**
     * @param updateDate the updateDate to set
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}